<?php

//DAO (DataAccessobjects 数据存取对象)

namespace app\common\model\dao;

use think\Model;
use think\model\concern\SoftDelete;

class BaseModel extends Model
{
    use SoftDelete;
    protected $deleteTime = 'delete_time';
    protected $name = 'admin';
	public function getCtreateTimeTextAttr($value,$data)
    {
        return date("Y-m-d H:i:s",$data['create_time']);
    }
	public function getUpdateTimeTextAttr($value,$data)
    {
        return date("Y-m-d H:i:s",$data['update_time']);
    }
}
